
public class creater {

	public static void main(String[] args) 
	
	{
		Car mycar1 = new Car("Honda");
		
		System.out.println(mycar1.car_name);
		
		
		Car mycar2 = new Car("Toshiba");
		
		System.out.println(mycar2.car_name);
		
		mycar2.age = 2; //static means changing the default value of all objects class of type Cars
		
		System.out.println("car 2 age is "+mycar2.age);
		System.out.println("car 1 age is "+mycar1.age);
		
	}

}
